package com.xtm.exercise;

import com.xtm.common.lb.annotation.EnableFeignInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Description: 用户服务
 * @Author: Hzl
 * @Date: 2023/9/30 15:13
 */
@EnableDiscoveryClient
@EnableFeignInterceptor
@EnableTransactionManagement
@EnableFeignClients(basePackages = "com.xtm")
@SpringBootApplication(scanBasePackages = "com.xtm")
public class ExerciseApplication {

    public static void main (String[] args) {
        SpringApplication.run(ExerciseApplication.class, args);
    }

}
